package com.zyk.leetcode;

/**
 * @author zhangsan
 * @date 2021/5/22 14:15
 */
public class C810 {

    public static boolean xorGame(int[] nums) {
        if (nums.length % 2 == 0) {
            return true;
        }
        int eor = 0;
        for (int num : nums) {
            eor ^= num;
        }
        return eor != 0;
    }

    public static void main(String[] args) {

        System.out.println(1 ^ 1);
    }

}
